package cate.game.role.pvp.arena.msg;

import cate.game.GameBody;
import cate.game.client.ClientContext;
import cate.game.client.msg.ClientMsg;
import cate.game.client.msg.MsgConfig;
import cate.game.client.msg.MsgInput;
import cate.game.client.msg.id.MsgIdBArena;

@ClientMsg(title = "跨服擂台赛-关闭结算界面 请求")
public class ArenaCloseFightResultReq implements MsgInput {
    @Override
    public MsgConfig conf() {
        return MsgIdBArena.CLOSE_FIGHT_RESULT_REQ;
    }

    @Override
    public void execute(GameBody game, ClientContext cc) {
        cc.getRole().getPvp().arena.closeFightResult();
    }
}
